package com.shengyin.ec.model.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table(name="Company")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name="companyType",
                                     discriminatorType = DiscriminatorType.STRING,
                                     length=30)
@DiscriminatorValue("1")
public class Company extends BaseEntity {
	
	
	
	private String username;
	private String pwd;
	
	
	private String realname;
	private String department;
	private String tel;
	private String mobile;
	private String mail;
	
	private String companyname;
	private String companyarea;
	private String companyaddr;
	private String purposel;
	private String employees;
	private String industry;
	private String nature;
	
	private Date createDate;
	
	/*companyType表示不同的企业类型
	 * 1:联盟企业
	 * 2：集群企业
	 * 3：连锁经营店
	 * */
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	private String  certificatesUpload;
	
	/*
	 *  企业联盟的评审意见
	 * */
	private String  verifySuggest;
	
	/*
	 * 0-未审核
	 * 1-未通过
	 * 2-通过
	 
	 * */
	private int status;
	
	
	
	public String getCertificatesUpload() {
		return certificatesUpload;
	}
	public void setCertificatesUpload(String certificatesUpload) {
		this.certificatesUpload = certificatesUpload;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getCompanyname() {
		return companyname;
	}
	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}
	public String getCompanyarea() {
		return companyarea;
	}
	public void setCompanyarea(String companyarea) {
		this.companyarea = companyarea;
	}
	public String getCompanyaddr() {
		return companyaddr;
	}
	public void setCompanyaddr(String companyaddr) {
		this.companyaddr = companyaddr;
	}
	public String getPurposel() {
		return purposel;
	}
	public void setPurposel(String purposel) {
		this.purposel = purposel;
	}
	public String getEmployees() {
		return employees;
	}
	public void setEmployees(String employees) {
		this.employees = employees;
	}
	public String getIndustry() {
		return industry;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getNature() {
		return nature;
	}
	public void setNature(String nature) {
		this.nature = nature;
	}
	public String getVerifySuggest() {
		return verifySuggest;
	}
	public void setVerifySuggest(String verifySuggest) {
		this.verifySuggest = verifySuggest;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	
}
